import React from "react";
import { Route } from "react-router-dom";
import Add from "../pages/bwl/Add.jsx";
import List from "../pages/bwl/List.jsx";
import Mine from "../pages/bwl/Mine.jsx";

export default ({ routes }) => {
    console.log("routes", routes);
    return (
        <div className="index">
            <h1>Index</h1>
            <Route path="/bwl/add" component={Add} />
            <Route path="/bwl/list" component={List} />
            <Route path="/bwl/mine" component={Mine} />
        </div>
    );
};
